package container;

import server.HttpServlet;

import java.util.HashMap;
import java.util.Map;

public class Host implements Container{

    String name;
    String baseDir;

    public Map<String, HttpServlet> servletMap = new HashMap<>();

    public Host(String name,String baseDir){
        this.name = name;
        this.baseDir = baseDir;
    }


    @Override
    public void start() {

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBaseDir() {
        return baseDir;
    }

    public void setBaseDir(String baseDir) {
        this.baseDir = baseDir;
    }

    public Map<String, HttpServlet> getServletMap() {
        return servletMap;
    }

    public void setServletMap(Map<String, HttpServlet> servletMap) {
        this.servletMap = servletMap;
    }
}
